package com.gxa.saas.service.impl;

import com.gxa.saas.mapper.LoginMapper;
import com.gxa.saas.pojo.Permission;
import com.gxa.saas.pojo.User;
import com.gxa.saas.service.LoginService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class LoginServiceImpl implements LoginService {
    @Autowired
    LoginMapper loginMapper;
    @Override
    public User login(String phone, String pwd) {
        return loginMapper.login(phone,pwd);

    }
}
